import Vue from 'vue'
import Router from 'vue-router'
import ChartHome from '@/views/ChartHome'
import UserSubscribe from '@/components/UserSubscribe'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      component: () => import('@/views/Search')    
    },
    {
      path: '/getSub',
      name: 'getSub',
      component: UserSubscribe
    },
    {
      path: '/charts',
      component: ChartHome
    }
  ]
})
